package com.bingo.rbac.controller;

import com.bingo.rbac.common.ServerResponse;
import com.bingo.rbac.exception.ParamException;
import com.bingo.rbac.pojo.SysUser;
import com.bingo.rbac.service.SysUserService;
import com.bingo.rbac.util.BeanValidator;
import lombok.Builder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 用户管理
 *
 * @author bingo
 * @create 2017-12-02 16:15
 **/
@Controller
@RequestMapping("/sysUser")
public class SysUserController {
private Logger logger = LoggerFactory.getLogger(SysUserController.class);
    @Autowired
    private SysUserService sysUserService;
    @ResponseBody
    @RequestMapping("/test.json")
    public ServerResponse testDemo(){
      return  ServerResponse.createServerResponseBySuccess("success");
        }

}
